package com.hy.convenient.api.server;

import com.hy.convenient.api.dao.StoresMapper;
import com.hy.convenient.api.pojo.StoresPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @className StoresServer
 * @Author hdy
 * @Date 2021-1-19 11:40
 * @Version 1.0
 */
@Service
public class StoresServer implements  ApiServerInterface<StoresPojo> {
    @Autowired
    private StoresMapper stores;
    @Override
    public List<StoresPojo> queryDownList(Map<String, Object> map) {
        return stores.queryDownList(map);
    }

    @Override
    public int queryCount(Map<String, Object> t) {
        return stores.queryCount(t);
    }

    @Override
    public List<StoresPojo> queryUpdateDownList(Map<String, Object> map) {
        return stores.queryUpdateDownList(map);
    }
}
